<template>
  <div>
    <button @click="toast()" class="btn btn-success">toast</button>
  </div>
</template>

<script>
  import { Toast } from 'mint-ui';
  export default {
    components: {},
    methods: {
      toast(){
        Toast({
          message: ' 我是一个提示信息',
          position: 'bottom',
          duration: 2000
        });
      }
    }
  }
</script>
<style lang="css">

</style>
